<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<%@ include file="../include/easyUINewcommon.jsp"%>
<script type="text/javascript" src="${ctx}/res/libs/easyui/datagrid-detailview.js"></script>
<script type="text/javascript" src="${ctx}/dgJs/order/main.js"></script>
<script type="text/javascript" src="${ctx}/dgJs/order/detail.js" /></script>
<script type="text/javascript" src="${ctx}/dgJs/order/address.js" /></script>
<script type="text/javascript" src="${ctx}/dgJs/order/orderGoods.js" /></script>
<script type="text/javascript">
	//页面加载完成后执行
	$(function() {
		order.main.init();
	});
</script>
<style type="text/css">
.panel-title {
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	height: 16px;
	line-height: 16px;
	padding-left: 10px;
	padding-top: 1px;
}

.tree-node-selected {
	background: none repeat scroll 0 0 #FFECE2;
	color: #000000;
}

.panel-header {
	height: 16px;
	padding: 5px;
	position: relative;
}

.textbox {
	position: relative;
    /* border: 1px solid #95B8E7; */
    background-color: #fff;
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
    

</style>
</head>
<body style="background-color: #FFFFFF; overflow-y: auto;"
	class="easyui-layout" fit="true">
	<div data-options="region:'center'" style="padding: 0px; width: 80%">
		<div class="data_query">
			<div class="data_button">
				<input type="button" value="新增" class="button_select" onclick="order.main.add()" /> 
				<input type="button" value="修改" class="button_select" onclick="order.main.edit()" /> 
				<input type="button" value="删除" class="button_select" onclick="order.main.del()" />
				<input type="button" value="EXCEL导出" class="button_select" onclick="order.main.excel()" />
				<input type="button" value="重置" class="button_reset" onclick="order.main.clearData()" /> 
				<input type="button" value="查询" class="button_reset" onclick="order.main.search()" />
			</div>
			<div class="fn_clear"></div>
			<div class="data_query_table">
				<table width="95%">
					<tr>
						<td width="10%">订单名称：</td>
						<td width="20%"><input type="text" id="order_name" name="order_name"
							maxlength="50" /></td>
						<td width="10%">订单创建时间：</td>
						<td width="10%" align="left"><input type="text"
							id="order_create_time" name="order_create_time" class="Wdate"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" style='cursor: pointer;' /></td>
						<td width="20%">商品名称(订单中包含的商品)：</td>
						<td width="25%"><input type="text" id="goods_name" name="goods_name"
							maxlength="50" /></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="data_detial_table"
			style="margin: 10px 0 0 10px; width: 98%; height: auto">
			<table id="mainGrid"></table>
		</div>
	</div>
	<div id="orderEditWin"></div>
	<div id="orderGoodsEditWin"></div>
	<div id="addressWin"></div>
</body>
</html>